package demo.day10;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/8/1-08-01-18:41
 * @Description：demo.day10
 */
public class GeometricObject {
    private String color;
    protected GeometricObject(){
        color = "red";
    }
    protected GeometricObject(String color){
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
